package cn.itsource.pethome.user.contant;

public class WeChatContant {
    /*
     * https://open.weixin.qq.com/connect/qrconnect?appid=APPID&redirect_uri=REDIRECT_URI&
     * response_type=code&
     * scope=snsapi_login&state=STATE#wechat_redirect
     * */
    public static String APPID = "wxd853562a0548a7d0";

    public static String SECRET="4a5d5615f93f24bdba2ba8534642dbb6";

    /*回调域名 不能写端口号*/
    public static String REDIRECT_URL="http://bugtracker.itsource.cn/wechat/callBack";
    /*拉起二维码的请求*/
    public static String REQUEST_CODE="https://open.weixin.qq.com/connect/qrconnect?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=snsapi_login&state=STATE#wechat_redirect";
    //获取token
    public static String  TOKEN_URL="https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
    //获取用户信息
    public static String USER_INFO = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";


}
